how to find local maximum and minimum values

welcome to shbcf.ru